package com.source.labelAndBarcode.vo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author Joey
 * @since 2021-02-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="BarcodeGrant对象", description="")
public class BarcodeGrantVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "barcodeGrantId", type = IdType.ASSIGN_UUID)
    private String barcodeGrantId;

    @ApiModelProperty(value = "条形码编号（预留字段）")
    @TableField("barcodeId")
    private String barcodeId;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "createDate", fill = FieldFill.INSERT)
    private Date createDate;

    @ApiModelProperty(value = "开始编号")
    @TableField("startNumber")
    private String startNumber;

    @ApiModelProperty(value = "结束编号")
    @TableField("endNumber")
    private String endNumber;

    @ApiModelProperty(value = "发放数量")
    @TableField("grantCount")
    private Integer grantCount;

    @ApiModelProperty(value = "发放时间")
    @TableField("grantDate")
    private Date grantDate;

    @ApiModelProperty(value = "发放人员id")
    @TableField("grantPerson")
    private String grantPerson;

    @ApiModelProperty(value = "领取人员id")
    @TableField("receivePerson")
    private String receivePerson;

    @ApiModelProperty(value = "更新时间")
    @TableField(value = "updateDate", fill = FieldFill.UPDATE)
    private Date updateDate;

    @ApiModelProperty(value = "发放档口编号")
    @TableField("stallsId")
    private Integer stallsId;

    @ApiModelProperty(value = "逻辑删除")
    @TableField("isDelete")
    @TableLogic
    private Boolean isDelete;

    //新增字段

    @ApiModelProperty(value = "发放人员名字")
    private String deliverName;

    @ApiModelProperty(value = "领取人员姓名")
    private String receiveName;

    @ApiModelProperty(value = "档口名")
    private String stallsName;



}
